/*==============================================================================
**                                 
**                      Proprietary - Copyright (C) 2013
**------------------------------------------------------------------------------
** Supported MCUs      : <STM32 / MCU independent>
** Supported Compilers : <Keil-ARM / compiler independent>
**------------------------------------------------------------------------------
** File name         : Dv_EEPROM_IO.h
**
** Module name       : Dv_EEPROM
**
**
** Summary: __________________________
**
**= History ====================================================================
** 24/7/2013  Cuong Chu
** - Creation
==============================================================================*/

#ifndef DV_EEPROM_IO_H
#define DV_EEPROM_IO_H

/*****************************************************************************/
/* INCLUSIONS                                                                */
/*****************************************************************************/
#include <stm32f10x.h>


/*****************************************************************************/
/* PUBLISHED INFORMATION                                                     */
/*****************************************************************************/


/*****************************************************************************/
/* DEFINITION OF CONSTANTS                                                   */
/*****************************************************************************/

/*****************************************************************************/
/* DEFINITION OF TYPES                                                       */
/*****************************************************************************/

/*****************************************************************************/
/* DEFINITION OF MACROS                                                      */
/*****************************************************************************/
#define EEPROM_IO_WRITE_BYTE(x)            I2C_SendData(I2C1,x)
/*****************************************************************************/
/* DECLARATION OF VARIABLES (Only external global variables)                 */
/*****************************************************************************/

/*****************************************************************************/
/* DECLARATION OF GLOBALES FUNCTIONS (APIs, Callbacks & MainFunctions)       */
/*****************************************************************************/

/******************************************************************************
** Function name: Dv_EEPROM_APIFunc( uint8 X)
** Description: Short Description, including preconditions
** Parameter X : Description
** Return value: None
** Remarks: global variables used, side effects
******************************************************************************/


/******************************************************************************
** Function name: Dv_EEPROM_GetVersionInfo(Std_VersionInfoType *versioninfo)
** Description: This service returns the version information of this module.
** Parameter versioninfo : Pointer to where to store the version information
**                         of this module.
** Return value: None
** Remarks: Non reentrant, this service is only available if enabled by the
**          pre-processor switch DV_EEPROM_IO_VERSION_INFO_API.
******************************************************************************/


#endif /* DV_EEPROM_IO_H */

